package per.hx.bs.entity.yw;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import per.hx.bs.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @author HuXing
 * @date 2018/4/14  10:37
 */
@TableName("yw_appraisal_item")
public class YwAppraisalItemDO extends BaseEntity<YwAppraisalItemDO> {

    @TableId
    private String id;
    /**
     * 指标内容
     */
    private String appraisalContent;
    /**
     * 指标值
     */
    private String appraisalValue;
    /**
     * 父Id
     */
    private String parentId;
    /**
     * 指标类型
     */
    private String appraisalType;
    /**
     * 金额
     */
    private Integer money;
    /**
     * 金额类型（增加，减少）
     */
    private String moneyType;
    /**
     * 金额单位
     */
    private String moneyUnit;
    /**
     * 排序号
     */
    private Integer serialNo;
    /**
     * 排序号
     */
    private Integer countSign;

    /**
     * 显示id
     */
    private String showId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppraisalContent() {
        return appraisalContent;
    }

    public void setAppraisalContent(String appraisalContent) {
        this.appraisalContent = appraisalContent;
    }

    public String getAppraisalValue() {
        return appraisalValue;
    }

    public void setAppraisalValue(String appraisalValue) {
        this.appraisalValue = appraisalValue;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getAppraisalType() {
        return appraisalType;
    }

    public void setAppraisalType(String appraisalType) {
        this.appraisalType = appraisalType;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getMoneyType() {
        return moneyType;
    }

    public void setMoneyType(String moneyType) {
        this.moneyType = moneyType;
    }

    public String getMoneyUnit() {
        return moneyUnit;
    }

    public void setMoneyUnit(String moneyUnit) {
        this.moneyUnit = moneyUnit;
    }

    public Integer getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(Integer serialNo) {
        this.serialNo = serialNo;
    }

    public YwAppraisalItemDO() {
    }

    public YwAppraisalItemDO(String appraisalType) {
        this.appraisalType = appraisalType;
    }

    public YwAppraisalItemDO(String id, String appraisalContent, String appraisalType, String showId) {
        this.id = id;
        this.appraisalContent = appraisalContent;
        this.appraisalType = appraisalType;
        this.showId = showId;
    }

    public String getShowId() {
        return showId;
    }

    public void setShowId(String showId) {
        this.showId = showId;
    }

    public Integer getCountSign() {
        return countSign;
    }

    public void setCountSign(Integer countSign) {
        this.countSign = countSign;
    }

    @Override
    public String toString() {
        return "YwAppraisalItemDO{" +
                "id='" + id + '\'' +
                ", appraisalContent='" + appraisalContent + '\'' +
                ", appraisalValue='" + appraisalValue + '\'' +
                ", parentId='" + parentId + '\'' +
                ", appraisalType='" + appraisalType + '\'' +
                ", money=" + money +
                ", moneyType='" + moneyType + '\'' +
                ", moneyUnit='" + moneyUnit + '\'' +
                ", serialNo=" + serialNo +
                ", countSign=" + countSign +
                ", showId='" + showId + '\'' +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
